<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单元素</title>
</head>
<body>
    <form action="/users/login" method="post">
        <input type="hidden" name="id" value="10000">
        <div>
            <label for="username">用户名：</label>
            <input type="text" id="username" name="username" value="张三" >
        </div>
        <div>
            <label for="pwd">密码：</label>
            <input type="password" id="pwd" name="pwd" >
        </div>
        <div>
            <label>性别：</label>
            <label>男</label>
            <input type="radio" name="gender" value="男">
            <label>女</label>
            <input type="radio" name="gender" value="女">
        </div>
        <div>
            <label>选择语言：</label>
            <label>C语言</label>
            <input type="checkbox" name="language" value="C语言">
            <label>C++语言</label>
            <input type="checkbox" name="language" value="C++语言">
            <label>Python</label>
            <input type="checkbox" name="language" value="Python">
            <label>java语言</label>
            <input type="checkbox" name="language" value="java语言">
        </div>
        <div>
            <label>上传头像：</label>
            <input type="file" name="file">
        </div>
        <div>
            <label>选择城市：</label>
            <select name="city" id="city">
                <option value="cd">成都</option>
                <option value="bj">北京</option>
                <option value="sh">上海</option>
            </select>
        </div>
        <div>
            <label>爱好：</label>
            <select name="likes" id="likes" multiple>
                <option value="football">足球</option>
                <option value="basketball">篮球</option>
                <option value="jump">跳高</option>
            </select>
        </div>
        <div>
            <label>备注：</label>
            <textarea name="info" id="info" cols="30" rows="10"></textarea>
        </div>
        <div>
            <input type="submit" value="登录">
            <input type="image" src="btn.png">
            <button>登录</button>
            <input type="reset">
            <input type="button" value="OK">
        </div>
    </form>
</body>
</html>